"DESCRIPTION 1"="Normally, McAfee VirusScan uses an interface like that of the Windows Find dialog. However, it also has a more basic interface that you can use."
"DESCRIPTION 2"="To enable the default interface, check the top option; to use the more basic interface, check the bottom option."
"COMMENT 1"="Discovered by accident!"
"VERSION"="1.0"
"AUTHOR"="Neil R. Turner (totalxs@hotmail.com) for Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
'Declaration of some constants
sP="HKLM\Software\McAfee\Scan95\DefaultVSC"
sN="UIType"
'Called when the Plugin is started
SUB Plugin_Initialize
s=RegReadValue(sP)
if IsEmpty(s)=false then
t=IniReadValue(s,"ScanOptions",sN)
if t="0" then
Call SetUIElement(1,true)
else
Call SetUIElement(2,true)
end if
else
Call Disable()
end if
END SUB
'Called when the Plugin should validate the Data the user has entered
SUB Plugin_CheckData(ElementIndex)
END SUB
'Called when the Plugin should apply the changes
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
v=RegReadValue(sP)
if s=true then
Call IniWriteValue(v,"ScanOptions",sN,"0")
end if
s=GetUIElement(2)
if s=true then
Call IniWriteValue(v,"ScanOptions",sN,"1")
end if
END SUB
'Called when the Plugin is about to be removed from memory